Optimal. Leaf size=99 \[ \frac {b f p q (g+h x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac {f (g+h x)}{f g-e h}\right )}{h (f g-e h) (1+m) (2+m)}+\frac {(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 99, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {2442, 70, 2495}
\begin {gather*} \frac {(g+h x)^{m+1} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (m+1)}+\frac {b f p q (g+h x)^{m+2} \, _2F_1\left (1,m+2;m+3;\frac {f (g+h x)}{f g-e h}\right )}{h (m+1) (m+2) (f g-e h)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 70
Rule 2442
Rule 2495
Rubi steps
\begin {align*} \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx &=\text {Subst}\left (\int (g+h x)^m \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac {(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)}-\text {Subst}\left (\frac {(b f p q) \int \frac {(g+h x)^{1+m}}{e+f x} \, dx}{h (1+m)},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac {b f p q (g+h x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac {f (g+h x)}{f g-e h}\right )}{h (f g-e h) (1+m) (2+m)}+\frac {(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 76, normalized size = 0.77 \begin {gather*} \frac {(g+h x)^{1+m} \left (a+a m-b p q+b p q \, _2F_1\left (1,1+m;2+m;\frac {f (g+h x)}{f g-e h}\right )+b (1+m) \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.23, size = 0, normalized size = 0.00 \[\int \left (h x +g \right )^{m} \left (a +b \ln \left (c \left (d \left (f x +e \right )^{p}\right )^{q}\right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (g+h\,x\right )}^m\,\left (a+b\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^p\right )}^q\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________